﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace AesonBaseFramework.EntityFramework.BaseEntities
{
    public interface IAesonBaseEntity
    {
     
        [Required]
        int Id { get; set; }

        DateTime DateCreate { get; set; }
        DateTime DateModified { get; set; }

        string UserCreated { get; set; }
        string UserModified { get; set; }
        bool IsDirty { get; set; }
        IEnumerable<ValidationResult> Validate();
        event PropertyChangedEventHandler PropertyChanged;
    }
}